Pro-Cloud API Web Service
Method/ProCloudWS.asmx/StatusReasonsGet
Pro-Cloud API Web Service > All Operations Resource Group : /ProCloudWS.asmx/StatusReasonsGet (Method)
Description
This web method returns a list of reasons for moving items into the passed status. If one or more reasons are returned, then one of these reason ids is to be passed into the MoveStockItemEinBatch web method.
Request (StatusReasonsGetSoapIn)

The request body is of type StatusReasonsGet.

Request Body Parameters

NameDescriptionData Type

This is a unique provider id, which can be obtained from CSS

GUId

guid

This is your unique service password which can be obtained from CSS

String (min 1 max 50)

xml:string

This is the providers branch making the web service call (can be obtained via the ProviderBranchesGet web method)

Integer

xml:int

This is the status id to obtain the status reasons for.

Integer

xml:int
intStatusId Element intProviderBranchId Element strPassword Element objProviderGUId Element Sequence StatusReasonsGet Element

Overview

Sequence
Response (StatusReasonsGetSoapOut)

The response body is of type StatusReasonsGetResponse.

Response Body Parameters

NameDescriptionData Type
 objStatusReasonsGetReturn
xmlDataSet Element strErrorMsg Element intErrorId Element Sequence StatusReasonsGetResult Element Sequence StatusReasonsGetResponse Element

Overview

Sequence
Sequence
intErrorId xs:int
strErrorMsg optional xs:string
xmlDataSet optional
Sequence
Any
Example
<?xml version="1.0" encoding="UTF-8"?>
<objStatusReasonsGetReturn xmlns="http://pro-cloud.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<intErrorId>0</intErrorId>
	<strErrorMsg/>
	<xmlDataSet>
		<NewDataSet xmlns="">
			<StatusReasons>
				<StatusReasonUId>1</StatusReasonUId>
				<Code>Test</Code>
				<Description>Test Reason</Description>
				<ddlText>Test Test Reason</ddlText>
				<Enabled>true</Enabled>
				<ProviderId>34</ProviderId>
				<ProviderBranchId>45</ProviderBranchId>
			</StatusReasons>
		</NewDataSet>
	</xmlDataSet>
</objStatusReasonsGetReturn>
See Also
All Operations Resource GroupPro-Cloud API Web Service